import {BaseRequest, BaseResponse, BaseConf} from "../base";
import {db_user} from "./db_user";

export interface ReqUpdate extends BaseRequest {
    updateObj: Pick<db_user, '_id'> & Partial<Pick<db_user, 'username' | 'money' | 'address' | 'avatar' | 'state' | 'createTime' | 'password'>>;
}

export interface ResUpdate extends BaseResponse {
    updatedNum: number;
}

export const conf: BaseConf = {}
